import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import vue_resource from 'vue-resource'
// import VueAxios from 'vue-axios'
// import axios from 'axios'
import router from "./router/Router"

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'



import common from  './assets/js/common'


//加载路由中间件
Vue.use(VueRouter)
Vue.use(ElementUI)
Vue.use(vue_resource)
// Vue.use(VueAxios, axios)

Vue.prototype.$moment = common;




new Vue({
  el: '#app',
  router,
  render: h => h(App)
})

